from django.db import models

# Create your models here.
class Wechat(models.Model):
    title = models.CharField(max_length = 500,null = True,blank = True,verbose_name='标题')
    link = models.CharField(max_length = 500,null = True,blank = True,verbose_name='链接')
    date = models.DateField(auto_now=False,verbose_name='时间')
    abstract =  models.CharField(max_length = 500,null = True,blank = True,verbose_name='摘要')

    class Meta:
        verbose_name = "微信公众号信息收集系统"
        verbose_name_plural = "微信公众号信息收集系统"

    def __str__(self):
        return self.title


